package com.mallcai.bigdata.ladon.service.report;

import com.mallcai.bigdata.ladon.dpl.entity.report.QueryField;
import com.mallcai.bigdata.ladon.vo.QueryParam;
import com.mallcai.bigdata.ladon.vo.QueryParamCollector;
import lombok.Data;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author feixy
 * @version 1.0
 * @date 2019-07-18 16:32
 */
public interface IParamGeneratorService {

    /**
     * 收集参数
     * @param reportSql
     * @param fieldList
     * @param params
     * @return
     */
    QueryParamCollector generate(String  reportSql, List<QueryField> fieldList, Map<String,Object> params);

}
